package com.ibeeking.found.file.rest.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ibeeking.found.file.service.common.dos.StorageDO;

public interface IStorageService extends IService<StorageDO> {

    Long getTotalStorageSize(Long userId);

    boolean checkStorage(Long userId, Long fileSize);
}
